<?php

$file = file_get_contents('errors/errors.txt');

$errors = explode('@@@', $file);


$new = array();
foreach ($errors as $key=>$error) {
    $error = str_replace('INSERT INTO', '@@INSERT INTO', str_replace('Array', '@@Array', $error));
    $error = explode('@@', $error);
    $errors[$key] = $error;
    $collectionobjectid = trim($error[0]);
    echo $collectionobjectid . "\n";
}





?>
